package com.nexgo.payment.databases;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

/**
 * 密码管理表
 *
 * @author 谭忠扬-YuriTam
 * @time 2017年7月6日
 */
@Entity(nameInDb = "PWD_INFO")
public class PasswordInfo {
    @Id(autoincrement = true)
    private Long id;
    @Property(nameInDb = "MNG_PWD")
    private String managePassword;  //管理员密码
    @Property(nameInDb = "ADMIN_PWD")
    private String adminPassword;  //主管密码
    @Property(nameInDb = "SCY_PWD")
    private String securityPassword;//安全密码

    @Generated(hash = 1438582708)
    public PasswordInfo(Long id, String managePassword, String adminPassword,
                        String securityPassword) {
        this.id = id;
        this.managePassword = managePassword;
        this.adminPassword = adminPassword;
        this.securityPassword = securityPassword;
    }

    @Generated(hash = 185707197)
    public PasswordInfo() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getManagePassword() {
        return this.managePassword;
    }

    public void setManagePassword(String managePassword) {
        this.managePassword = managePassword;
    }

    public String getAdminPassword() {
        return this.adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword;
    }

    public String getSecurityPassword() {
        return this.securityPassword;
    }

    public void setSecurityPassword(String securityPassword) {
        this.securityPassword = securityPassword;
    }
}
